package com.firefly.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.firefly.sharding.jdbc.model.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderMapper extends BaseMapper<Order> {

//    /**
//     * 插入
//     *
//     * @param order
//     * @return
//     */
//    int insert(Order order);

    /**
     * 批量查询
     * @param idList
     * @return
     */
    List<Order> selectListByIds(@Param("idList") List<Long> idList);
}
